package com.example.kotlinExample.properties

import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.stereotype.Component

/**
 *
 *
 * @author liliang
 */
@Component
@ConfigurationProperties(prefix = "myproperties")
class MyProperties {
    lateinit var name: String
    var age = 0
    lateinit var address: String
    var phone = 0
    lateinit var uid: String
    lateinit var profile: String
}